home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld Secrets (4th Edition)
/
Mac Secrets CD 4th Ed.toast
/
Apple Advanced Technologies
/
Apple Speech Technologies 1.5
/
PlainTalk Developer Info
/
Speech Recognition Manager SDK
/
SR Sample Code
/
Weapons Example
/
Weapons Read Me
< prev
next >
Wrap
Text File
|
1996-05-02
|
990b
|
29 lines
/*
Weapons Example
This is the example that was demonstrated at the Computer Game Developers Conference
April 1996. The application consists of a simple window with a picture of the
"current weapon." You can use the arrow keys to switch between weapons, or speak their
names, as listed in the "Vocabulary" text file. As an exercise, you might want to
improve the user interface of this application by displaying a second window with
the vocabulary in it. This example is designed to work with CodeWarrior IDE 1.4 (CW8)
or later, although the source files should work with any development environment.
In order to use these projects in CodeWarrior:
..copy SpeechRecognitionLib to
:Metrowerks CodeWarrior:MacOS Support:Libraries:MacOS PPC:
..and copy SpeechRecognition.h to
:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:
OR
copy them to your project folder and change the header files from:
#include <SpeechRecognition.h>
to
#include "SpeechRecognition.h"
*/